package com.lee.core.sample

import android.os.Bundle
import androidx.lifecycle.lifecycleScope
import com.lee.core.sample.databinding.ActivityMainBinding
import com.lee.xcore.base.BaseVMActivity
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch

class MainActivity : BaseVMActivity<ActivityMainBinding,MainVModel>() {

    override fun getViewBinding() = ActivityMainBinding.inflate(layoutInflater)

    override fun getViewModel() = MainVModel()

    override fun initView(savedInstanceState: Bundle?) {

        lifecycleScope.launch {
            delay(2000)

        }
    }

}